<?
require('vstar_config.php');
if(!isset($_SESSION['is_admin'])){$_SESSION['is_admin']=false;}

if(!isset($_SESSION['is_admin']) || $_SESSION['is_admin']==false){
	header("Location:login.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<LINK REV="made" href="mailto:nguyencaonguyenthuy@gmail.com">
<META HTTP-EQUIV="Content-Type" CONTENT="text/css; charset=UTF-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META NAME="keywords" CONTENT="mua bán, rao vặt, quần áo, thời trang, điện tử">
<META NAME="description" CONTENT="Chocuatui.vn Mua bán, Rao vặt Online">
<META NAME="ROBOTS" CONTENT="ALL">
<META NAME="author" CONTENT="nguyenthuy">
<TITLE>Administrator | Hệ thống quản lý Chocuatui.vn</TITLE>
<LINK rel="stylesheet" href="css/global.css" type="text/css">
<LINK rel="stylesheet" href="css/style.css" type="text/css">
<link rel="shortcut icon" href="" >
<script src="js/commonvstar.js" type="text/javascript"></script>
<script src="lib/checkboxall.js" type="text/javascript"></script>
<script src="js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="js/ui.core.js" type="text/javascript"></script>
<script src="js/lib.js" type="text/javascript"></script>
<LINK rel="stylesheet" href="css/Advertisment/style.css" type="text/css">
<LINK rel="stylesheet" href="css/newslist.css" type="text/css">
<LINK rel="stylesheet" href="css/jquery.lightbox-0.5.css" type="text/css">
<script type="text/javascript" src="js/jquery.lightbox-0.5.min.js"></script>
<LINK rel="stylesheet" href="css/SignIn/style.css" type="text/css">
<LINK rel="stylesheet" href="css/Navigation/style.css" type="text/css">
<LINK rel="stylesheet" href="css/banner.css" type="text/css">
<BODY>
<div class="default-layout-bound">
	<div class="default-layout-content">
	<!--Banner-->
    	<div class="default-layout-banner">
			<div id="module_72468"><div class="banner-bound">
			<div class="banner-image">
				<div class="banner-logo" align="left"></div>
				<div class="banner-title">
					<a href="#" class="menu-link-text">Quy &#273;&#7883;nh </a>
					<a href="#" class="menu-link-text">&#272;&#259;ng tin nhanh </a>
					<a href="#" class="menu-link-text">Đăng ký</a>
					<a href="#" class="menu-link-text">B&aacute;o gi&aacute; </a>
					<a href="#" class="menu-link-text">Liên hệ</a>
					<a href="#" class="menu-link-text">Sơ đồ Site</a>
				</div>
				<form name="Form" method="post" action="search.php">
				<div class="banner-search">
					<input name="keywords" id="keywords" type="text" style="background:#fff; width:205px;"/>
				</div>
				<input type="hidden" name="form_block_id" value="72468">
				</form >	
			</div>
		</div></div></div>
		<!--/banner-->
		<!--BODY-->
		<div class="default-layout-body">
			<!--MENU LEFT-->
            <? 
			include("includes/left.php");
			?>
		<!--HET MENU LEFT-->
		
            <div>
			<!--phan the hien module-->
                <div class="default-layout-center">
	<div id="module_72493">
	<script type="text/javascript">
	jQuery(function() {
		jQuery('.newslist-image a').lightBox({fixedNavigation:true});
	});	
	</script>
    <?
	if($_GET['mod']==""){
		include("includes/home.php");
	}
	else
	{
		$mod=$_GET['mod'];
		if($mod=="config"){
			include("includes/config.php");
		}else if($mod=="product.listcat"){
			include("includes/product.listcat.php");
		}else if($mod=="product.listcomment"){
			include("includes/product.listcomment.php");
		}else if($mod=="product.listall"){
			include("includes/product.php");
						
		}else if($mod=="admin"){
			include("includes/admin.php");
		}else if($mod=="product"){
			include("includes/product.php");
		}else if($mod=="classified.listcat"){
			include("includes/classified.listcat.php");
		}else if($mod=="classified.listclassified"){
			include("includes/classified.listclassified.php");
		}else if($mod=="job.listcat"){
			include("includes/job.listcat.php");
		}else if($mod=="job.listall"){
			include("includes/job.listall.php");
		}else if($mod=="news.listcat"){
			include("includes/news.listcat.php");
		}else if($mod=="news.listall"){
			include("includes/news.listall.php");
		}else if($mod=="news.listcomment"){
			include("includes/news.listcomment.php");
		}else if($mod=="member"){
			include("includes/member.php");
		} else if($mod=="member.edit"){
			include("includes/member.edit.php");
		} else if($mod=="adv"){
			include("includes/adv.php");
		}else if($mod=="adv.add"){
			include("includes/adv.add.php");
		}else if($mod=="contact"){
			include("includes/contact.php");
		}else if($mod=="comment"){
			include("includes/comment.php");
		}else if($mod=="messenge"){
			include("includes/messenge.php");
		}else if($mod=="logout"){
			include("logout.php");
		}else if($mod=="admin.add"){
			include("includes/admin.add.php");
		}else if($mod=="product.listcat.add"){
			include("includes/product.listcat.add.php");
		}else if($mod=="product.add"){
			include("includes/product.add.php");
		}else if($mod == "gopy"){
			include("includes/gopy.php");
		}else if($mod == "tukhoa"){
			include("includes/tukhoa.php");
		}else if($mod == "tinnhan"){
			include("includes/tinnhan.php");
		}else if($mod == "tinnhanrieng"){
			include("includes/tinnhanrieng.php");
		}else if($mod == "classified.listcat.add"){
			include("includes/classified.listcat.add.php");
		}else if($mod == "job.listcat.add"){
			include("includes/job.listcat.add.php");
		}else if($mod == "news.listcat.add"){
			include("includes/news.listcat.add.php");
		}else if($mod == "news.listall.add"){
			include("includes/news.listall.add.php");
		}
	}
	?></div></div>
	<!--het phan the hien module-->	
			</div>
            <div class="clear"></div>
        </div>
		<!--HET BODY-->
		
    	<div class="default-layout-footer">
		<!--begin footer--> 
		<?
			include("includes/footer.php");
		?>
		<!--end footer--> 
		</div>
</div></body>
</html>
